package com.example.hello.service;

import java.time.LocalDateTime;

import com.example.hello.entity.AlarmInfo;
import com.example.hello.entity.DataMonitoring;
import com.example.hello.entity.DeviceInfo;
import com.example.hello.entity.OperatingParameter;
import com.github.pagehelper.PageInfo;

public interface DeviceDetailService {
    PageInfo<DataMonitoring> getDataMonitoring(Integer deviceId, LocalDateTime startTime, LocalDateTime endTime, int page, int limit);
    PageInfo<OperatingParameter> getOperatingParameters(Integer deviceId, String parameter, int page, int limit);
    PageInfo<DeviceInfo> getDeviceInfo(Integer deviceId, String status, int page, int limit);
    PageInfo<AlarmInfo> getAlarmInfo(Integer deviceId, Boolean resolved, LocalDateTime startTime, LocalDateTime endTime, int page, int limit);
} 